# -*- coding: utf-8 -*-

################################################################################
## Form generated from reading UI file 'ui_main_test.ui'
##
## Created by: Qt User Interface Compiler version 6.6.1
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide6.QtCore import (QCoreApplication, QMetaObject, QSize, Qt)
from PySide6.QtGui import (QAction, QFont, QIcon)
from PySide6.QtWidgets import (QComboBox, QFrame, QHBoxLayout,
    QLabel, QLineEdit, QPushButton, QSizePolicy, QTableWidget, QTableWidgetItem,
    QVBoxLayout, QWidget)
from . import res_rc

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        if not MainWindow.objectName():
            MainWindow.setObjectName(u"MainWindow")
        MainWindow.resize(1087, 752)
        MainWindow.setStyleSheet(u"background-color: qlineargradient(spread:reflect, x1:0, y1:0, x2:1, y2:1, stop:0 rgba(80, 146, 158, 255), stop:1 rgba(19, 38, 125, 255));\n"
"font-family: Noto Sans SC;")
        self.action_6 = QAction(MainWindow)
        self.action_6.setObjectName(u"action_6")
        self.action_7 = QAction(MainWindow)
        self.action_7.setObjectName(u"action_7")
        self.action_8 = QAction(MainWindow)
        self.action_8.setObjectName(u"action_8")
        self.action_12 = QAction(MainWindow)
        self.action_12.setObjectName(u"action_12")
        self.action_13 = QAction(MainWindow)
        self.action_13.setObjectName(u"action_13")
        self.action_14 = QAction(MainWindow)
        self.action_14.setObjectName(u"action_14")
        self.centralwidget = QWidget(MainWindow)
        self.centralwidget.setObjectName(u"centralwidget")
        font = QFont()
        font.setFamilies([u"Noto Sans SC"])
        self.centralwidget.setFont(font)
        self.centralwidget.setStyleSheet(u"background-color:qlineargradient(spread:reflect, x1:0, y1:0, x2:1, y2:1, "
                                         u"stop:0 rgba(80, 146, 158, 255), "
                                         u"stop:1 rgba(19, 38, 125, 255))")
        self.verticalLayout_3 = QVBoxLayout(self.centralwidget)
        self.verticalLayout_3.setObjectName(u"verticalLayout_3")
        self.res_and_fluid = QHBoxLayout()
        self.res_and_fluid.setObjectName(u"res_and_fluid")
        self.result_frame = QFrame(self.centralwidget)
        self.result_frame.setObjectName(u"result_frame")
        self.result_frame.setMaximumSize(QSize(400, 16777215))
        self.result_frame.setStyleSheet(u"background-color: rgba(255, 255, 255, 30); \n"
                                        "border: 1px solid rgba(255, 255, 255, 40);\n"
                                        "border-radius: 7px;")
        self.verticalLayout = QVBoxLayout(self.result_frame)
        self.verticalLayout.setSpacing(0)
        self.verticalLayout.setObjectName(u"verticalLayout")
        self.verticalLayout.setContentsMargins(12, 12, 12, 12)
        self.result = QLabel(self.result_frame)
        self.result.setObjectName(u"result")
        font1 = QFont()
        font1.setFamilies([u"Noto Sans SC"])
        font1.setPointSize(20)
        font1.setBold(True)
        self.result.setFont(font1)
        self.result.setStyleSheet(u"color: white;\n"
"font-weight: bold;\n"
"font-size: 16pt;\n"
"background-color: none;\n"
"border: none")

        self.verticalLayout.addWidget(self.result)

        self.pressure_drop = QHBoxLayout()
        self.pressure_drop.setSpacing(0)
        self.pressure_drop.setObjectName(u"pressure_drop")
        self.key_pressure = QLabel(self.result_frame)
        self.key_pressure.setObjectName(u"key_pressure")
        self.key_pressure.setEnabled(True)
        self.key_pressure.setMaximumSize(QSize(1000, 1000))
        font2 = QFont()
        font2.setFamilies([u"Noto Sans SC"])
        font2.setPointSize(15)
        font2.setBold(False)
        self.key_pressure.setFont(font2)
        self.key_pressure.setStyleSheet(u"color: white;\n"
"font-weight: regular;\n"
"font-size: 15pt;\n"
"background-color: none;\n"
"border: none")

        self.pressure_drop.addWidget(self.key_pressure)

        self.value_pressure = QLabel(self.result_frame)
        self.value_pressure.setObjectName(u"value_pressure")
        font3 = QFont()
        font3.setFamilies([u"Noto Sans SC"])
        font3.setPointSize(25)
        self.value_pressure.setFont(font3)
        self.value_pressure.setLayoutDirection(Qt.RightToLeft)
        self.value_pressure.setStyleSheet(u"color: white;\n"
"font-size: 16pt;\n"
"background-color: none;\n"
"border: none")
        self.value_pressure.setAlignment(Qt.AlignCenter)

        self.pressure_drop.addWidget(self.value_pressure)

        self.comboBox = QComboBox(self.result_frame)
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.comboBox.setObjectName(u"comboBox")
        self.comboBox.setMinimumSize(QSize(80, 35))
        self.comboBox.setMaximumSize(QSize(80, 35))
        self.comboBox.setStyleSheet(u"font-weight: bold;\n"
"font-size: 15pt;\n"
"color: white;")
        self.comboBox.setModelColumn(0)

        self.pressure_drop.addWidget(self.comboBox)


        self.verticalLayout.addLayout(self.pressure_drop)

        self.coeff_total_resist = QHBoxLayout()
        self.coeff_total_resist.setSpacing(0)
        self.coeff_total_resist.setObjectName(u"coeff_total_resist")
        self.key_coeff = QLabel(self.result_frame)
        self.key_coeff.setObjectName(u"key_coeff")
        self.key_coeff.setFont(font2)
        self.key_coeff.setStyleSheet(u"color: white;\n"
"font-weight: regular;\n"
"font-size: 16pt;\n"
"background-color: none;\n"
"border: none")

        self.coeff_total_resist.addWidget(self.key_coeff)

        self.value_coeff = QLabel(self.result_frame)
        self.value_coeff.setObjectName(u"value_coeff")
        self.value_coeff.setFont(font3)
        self.value_coeff.setStyleSheet(u"color: white;\n"
"font-size: 16pt;\n"
"background-color: none;\n"
"border: none")
        self.value_coeff.setAlignment(Qt.AlignLeading|Qt.AlignLeft|Qt.AlignVCenter)

        self.coeff_total_resist.addWidget(self.value_coeff)


        self.verticalLayout.addLayout(self.coeff_total_resist)


        self.res_and_fluid.addWidget(self.result_frame)

        self.settings_fluid_frame = QHBoxLayout()
        self.settings_fluid_frame.setObjectName(u"settings_fluid_frame")
        self.fluid_frame = QFrame(self.centralwidget)
        self.fluid_frame.setObjectName(u"fluid_frame")
        self.fluid_frame.setStyleSheet(u"background-color: rgba(255, 255, 255, 30); \n"
"border: 1px solid rgba(255, 255, 255, 40);\n"
"border-radius: 7px;")
        self.verticalLayout_2 = QVBoxLayout(self.fluid_frame)
        self.verticalLayout_2.setObjectName(u"verticalLayout_2")
        self.verticalLayout_2.setContentsMargins(12, 12, 12, 12)
        self.name_fluid = QHBoxLayout()
        self.name_fluid.setObjectName(u"name_fluid")
        self.fluidname = QLabel(self.fluid_frame)
        self.fluidname.setObjectName(u"fluidname")
        self.fluidname.setMaximumSize(QSize(110, 16777215))
        font4 = QFont()
        font4.setFamilies([u"Noto Sans SC"])
        font4.setPointSize(15)
        font4.setBold(True)
        self.fluidname.setFont(font4)
        self.fluidname.setStyleSheet(u"color: white;\n"
"font-weight: bold;\n"
"font-size: 15pt;\n"
"background-color: none;\n"
"border: none")

        self.name_fluid.addWidget(self.fluidname)


        self.verticalLayout_2.addLayout(self.name_fluid)

        self.density_fluid = QHBoxLayout()
        self.density_fluid.setObjectName(u"density_fluid")
        self.key_density = QLabel(self.fluid_frame)
        self.key_density.setObjectName(u"key_density")
        self.key_density.setMaximumSize(QSize(110, 16777215))
        font5 = QFont()
        font5.setFamilies([u"Noto Sans SC"])
        font5.setPointSize(12)
        self.key_density.setFont(font5)
        self.key_density.setStyleSheet(u"color: white;\n"
"font-weight: regular;\n"
"font-size: 12pt;\n"
"background-color: none;\n"
"border: none")

        self.density_fluid.addWidget(self.key_density)

        self.value_density = QLabel(self.fluid_frame)
        self.value_density.setObjectName(u"value_density")
        self.value_density.setMaximumSize(QSize(100, 16777215))
        self.value_density.setFont(font5)
        self.value_density.setStyleSheet(u"color: white;\n"
"font-weight: regular;\n"
"font-size: 12pt;\n"
"background-color: none;\n"
"border: none")

        self.density_fluid.addWidget(self.value_density)

        self.unit_density = QLabel(self.fluid_frame)
        self.unit_density.setObjectName(u"unit_density")
        self.unit_density.setMaximumSize(QSize(50, 16777215))
        self.unit_density.setFont(font5)
        self.unit_density.setStyleSheet(u"color: white;\n"
"font-weight: regular;\n"
"font-size: 12pt;\n"
"background-color: none;\n"
"border: none")

        self.density_fluid.addWidget(self.unit_density)


        self.verticalLayout_2.addLayout(self.density_fluid)

        self.viscos_fluid = QHBoxLayout()
        self.viscos_fluid.setObjectName(u"viscos_fluid")
        self.key_viscos = QLabel(self.fluid_frame)
        self.key_viscos.setObjectName(u"key_viscos")
        self.key_viscos.setMinimumSize(QSize(110, 0))
        self.key_viscos.setMaximumSize(QSize(110, 16777215))
        self.key_viscos.setFont(font5)
        self.key_viscos.setStyleSheet(u"color: white;\n"
"font-weight: regular;\n"
"font-size: 12pt;\n"
"background-color: none;\n"
"border: none")

        self.viscos_fluid.addWidget(self.key_viscos)

        self.value_viscos = QLabel(self.fluid_frame)
        self.value_viscos.setObjectName(u"value_viscos")
        self.value_viscos.setMaximumSize(QSize(100, 16777215))
        self.value_viscos.setFont(font5)
        self.value_viscos.setStyleSheet(u"color: white;\n"
"font-weight: regular;\n"
"font-size: 12pt;\n"
"background-color: none;\n"
"border: none")

        self.viscos_fluid.addWidget(self.value_viscos)

        self.unit_viscos = QLabel(self.fluid_frame)
        self.unit_viscos.setObjectName(u"unit_viscos")
        self.unit_viscos.setMaximumSize(QSize(50, 16777215))
        self.unit_viscos.setFont(font5)
        self.unit_viscos.setStyleSheet(u"color: white;\n"
"font-weight: regular;\n"
"font-size: 12pt;\n"
"background-color: none;\n"
"border: none")

        self.viscos_fluid.addWidget(self.unit_viscos)


        self.verticalLayout_2.addLayout(self.viscos_fluid)

        self.massflow_fluid = QHBoxLayout()
        self.massflow_fluid.setObjectName(u"massflow_fluid")
        self.key_massflow = QLabel(self.fluid_frame)
        self.key_massflow.setObjectName(u"key_massflow")
        self.key_massflow.setMaximumSize(QSize(110, 16777215))
        self.key_massflow.setFont(font5)
        self.key_massflow.setStyleSheet(u"color: white;\n"
"font-weight: regular;\n"
"font-size: 12pt;\n"
"background-color: none;\n"
"border: none")

        self.massflow_fluid.addWidget(self.key_massflow)

        self.value_massflow = QLabel(self.fluid_frame)
        self.value_massflow.setObjectName(u"value_massflow")
        self.value_massflow.setMaximumSize(QSize(100, 16777215))
        self.value_massflow.setFont(font5)
        self.value_massflow.setStyleSheet(u"color: white;\n"
"font-weight: regular;\n"
"font-size: 12pt;\n"
"background-color: none;\n"
"border: none")

        self.massflow_fluid.addWidget(self.value_massflow)

        self.unit_massflow = QLabel(self.fluid_frame)
        self.unit_massflow.setObjectName(u"unit_massflow")
        self.unit_massflow.setMaximumSize(QSize(50, 16777215))
        self.unit_massflow.setFont(font5)
        self.unit_massflow.setStyleSheet(u"color: white;\n"
"font-weight: regular;\n"
"font-size: 12pt;\n"
"background-color: none;\n"
"border: none")

        self.massflow_fluid.addWidget(self.unit_massflow)


        self.verticalLayout_2.addLayout(self.massflow_fluid)


        self.settings_fluid_frame.addWidget(self.fluid_frame)

        self.btn_edit_fluid_settings = QPushButton(self.centralwidget)
        self.btn_edit_fluid_settings.setObjectName(u"btn_edit_fluid_settings")
        self.btn_edit_fluid_settings.setMaximumSize(QSize(90, 200))
        font6 = QFont()
        font6.setFamilies([u"Noto Sans SC"])
        font6.setPointSize(10)
        font6.setBold(True)
        self.btn_edit_fluid_settings.setFont(font6)
        self.btn_edit_fluid_settings.setStyleSheet(u"QPushButton {\n"
"color: white;\n"
"background-color: rgba(255, 255, 255, 30);\n"
"border: 1px solid rgba(255, 255, 255, 40);\n"
"border-radius: 7px;\n"
"width: 90px;\n"
"height: 200px;\n"
"}\n"
"\n"
"\n"
"QPushButton:hover {\n"
"background-color: rgba(255, 255, 255, 40);\n"
"}\n"
"\n"
"QPushButton:pressed {\n"
"background-color: rgba(255, 255, 255, 70);\n"
"}")
        icon = QIcon()
        icon.addFile(u":/icons/icons/edit_white_36dp.svg", QSize(), QIcon.Normal, QIcon.Off)
        self.btn_edit_fluid_settings.setIcon(icon)
        self.btn_edit_fluid_settings.setIconSize(QSize(24, 24))

        self.settings_fluid_frame.addWidget(self.btn_edit_fluid_settings)


        self.res_and_fluid.addLayout(self.settings_fluid_frame)


        self.verticalLayout_3.addLayout(self.res_and_fluid)

        self.horizontalLayout_4 = QHBoxLayout()
        self.horizontalLayout_4.setObjectName(u"horizontalLayout_4")
        self.horizontalLayout = QHBoxLayout()
        self.horizontalLayout.setObjectName(u"horizontalLayout")
        self.btn_add_element = QPushButton(self.centralwidget)
        self.btn_add_element.setObjectName(u"btn_add_element")
        self.btn_add_element.setMinimumSize(QSize(45, 50))
        self.btn_add_element.setFont(font6)
        self.btn_add_element.setStyleSheet(u"QPushButton {\n"
"color: white;\n"
"background-color: rgba(255, 255, 255, 30);\n"
"border: 1px solid rgba(255, 255, 255, 40);\n"
"border-radius: 7px;\n"
"width: 90px;\n"
"height: 50px;\n"
"}\n"
"\n"
"QPushButton:hover {\n"
"background-color: rgba(255, 255, 255, 40);\n"
"}\n"
"\n"
"QPushButton:pressed {\n"
"background-color: rgba(255, 255, 255, 70);\n"
"}")
        icon1 = QIcon()
        icon1.addFile(u":/icons/icons/post_add_white_24dp.svg", QSize(), QIcon.Normal, QIcon.Off)
        self.btn_add_element.setIcon(icon1)
        self.btn_add_element.setIconSize(QSize(24, 24))

        self.horizontalLayout.addWidget(self.btn_add_element)

        self.IndexAdd = QLineEdit(self.centralwidget)
        self.IndexAdd.setObjectName(u"IndexAdd")
        sizePolicy = QSizePolicy(QSizePolicy.Fixed, QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.IndexAdd.sizePolicy().hasHeightForWidth())
        self.IndexAdd.setSizePolicy(sizePolicy)
        self.IndexAdd.setMinimumSize(QSize(60, 25))
        self.IndexAdd.setMaximumSize(QSize(60, 25))
        self.IndexAdd.setLayoutDirection(Qt.LeftToRight)
        self.IndexAdd.setStyleSheet(u"background-color: rgba(255, 255, 255, 30); \n"
"border: 1px solid rgba(255, 255, 255, 40);\n"
"border-radius: 7px;\n"
"\n"
"font-weight: bold;\n"
"font-size: 10pt;\n"
"color: white;\n"
"")
        self.IndexAdd.setMaxLength(30000)
        self.IndexAdd.setAlignment(Qt.AlignCenter)

        self.horizontalLayout.addWidget(self.IndexAdd)


        self.horizontalLayout_4.addLayout(self.horizontalLayout)

        self.line = QFrame(self.centralwidget)
        self.line.setObjectName(u"line")
        self.line.setFrameShadow(QFrame.Sunken)
        self.line.setLineWidth(2)
        self.line.setFrameShape(QFrame.VLine)

        self.horizontalLayout_4.addWidget(self.line)

        self.horizontalLayout_2 = QHBoxLayout()
        self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
        self.btn_edit_element = QPushButton(self.centralwidget)
        self.btn_edit_element.setObjectName(u"btn_edit_element")
        self.btn_edit_element.setMinimumSize(QSize(50, 50))
        self.btn_edit_element.setFont(font6)
        self.btn_edit_element.setStyleSheet(u"QPushButton {\n"
"color: white;\n"
"background-color: rgba(255, 255, 255, 30);\n"
"border: 1px solid rgba(255, 255, 255, 40);\n"
"border-radius: 7px;\n"
"width: 90px;\n"
"height: 50px;\n"
"}\n"
"\n"
"QPushButton:hover {\n"
"background-color: rgba(255, 255, 255, 40);\n"
"}\n"
"\n"
"QPushButton:pressed {\n"
"background-color: rgba(255, 255, 255, 70);\n"
"}")
        self.btn_edit_element.setIcon(icon)
        self.btn_edit_element.setIconSize(QSize(24, 24))

        self.horizontalLayout_2.addWidget(self.btn_edit_element)

        self.IndexAdd_2 = QLineEdit(self.centralwidget)
        self.IndexAdd_2.setObjectName(u"IndexAdd_2")
        sizePolicy.setHeightForWidth(self.IndexAdd_2.sizePolicy().hasHeightForWidth())
        self.IndexAdd_2.setSizePolicy(sizePolicy)
        self.IndexAdd_2.setMinimumSize(QSize(60, 25))
        self.IndexAdd_2.setMaximumSize(QSize(60, 25))
        self.IndexAdd_2.setLayoutDirection(Qt.LeftToRight)
        self.IndexAdd_2.setStyleSheet(u"background-color: rgba(255, 255, 255, 30); \n"
"border: 1px solid rgba(255, 255, 255, 40);\n"
"border-radius: 7px;\n"
"\n"
"font-weight: bold;\n"
"font-size: 10pt;\n"
"color: white;\n"
"")
        self.IndexAdd_2.setMaxLength(30000)
        self.IndexAdd_2.setAlignment(Qt.AlignCenter)

        self.horizontalLayout_2.addWidget(self.IndexAdd_2)


        self.horizontalLayout_4.addLayout(self.horizontalLayout_2)

        self.line_2 = QFrame(self.centralwidget)
        self.line_2.setObjectName(u"line_2")
        self.line_2.setLineWidth(2)
        self.line_2.setMidLineWidth(0)
        self.line_2.setFrameShape(QFrame.VLine)
        self.line_2.setFrameShadow(QFrame.Sunken)

        self.horizontalLayout_4.addWidget(self.line_2)

        self.horizontalLayout_3 = QHBoxLayout()
        self.horizontalLayout_3.setObjectName(u"horizontalLayout_3")
        self.btn_del_element = QPushButton(self.centralwidget)
        self.btn_del_element.setObjectName(u"btn_del_element")
        self.btn_del_element.setMinimumSize(QSize(45, 50))
        self.btn_del_element.setFont(font6)
        self.btn_del_element.setStyleSheet(u"QPushButton {\n"
"color: white;\n"
"background-color: rgba(255, 255, 255, 30);\n"
"border: 1px solid rgba(255, 255, 255, 40);\n"
"border-radius: 7px;\n"
"width: 90px;\n"
"height: 50px;\n"
"}\n"
"\n"
"QPushButton:hover {\n"
"background-color: rgba(255, 255, 255, 40);\n"
"}\n"
"\n"
"QPushButton:pressed {\n"
"background-color: rgba(255, 255, 255, 70);\n"
"}")
        icon2 = QIcon()
        icon2.addFile(u":/icons/icons/delete_white_24dp.svg", QSize(), QIcon.Normal, QIcon.Off)
        self.btn_del_element.setIcon(icon2)
        self.btn_del_element.setIconSize(QSize(24, 24))

        self.horizontalLayout_3.addWidget(self.btn_del_element)

        self.IndexAdd_3 = QLineEdit(self.centralwidget)
        self.IndexAdd_3.setObjectName(u"IndexAdd_3")
        sizePolicy.setHeightForWidth(self.IndexAdd_3.sizePolicy().hasHeightForWidth())
        self.IndexAdd_3.setSizePolicy(sizePolicy)
        self.IndexAdd_3.setMinimumSize(QSize(60, 25))
        self.IndexAdd_3.setMaximumSize(QSize(60, 25))
        self.IndexAdd_3.setLayoutDirection(Qt.LeftToRight)
        self.IndexAdd_3.setStyleSheet(u"background-color: rgba(255, 255, 255, 30); \n"
"border: 1px solid rgba(255, 255, 255, 40);\n"
"border-radius: 7px;\n"
"\n"
"font-weight: bold;\n"
"font-size: 10pt;\n"
"color: white;\n"
"")
        self.IndexAdd_3.setMaxLength(30000)
        self.IndexAdd_3.setAlignment(Qt.AlignCenter)

        self.horizontalLayout_3.addWidget(self.IndexAdd_3)


        self.horizontalLayout_4.addLayout(self.horizontalLayout_3)


        self.verticalLayout_3.addLayout(self.horizontalLayout_4)

        self.table_elements_line = QTableWidget(self.centralwidget)
        if (self.table_elements_line.columnCount() < 8):
            self.table_elements_line.setColumnCount(8)
        font7 = QFont()
        font7.setFamilies([u"NotoSansSC-Bold-Alphabetic"])
        font7.setPointSize(10)
        font7.setBold(True)
        font7.setUnderline(False)
        font7.setKerning(False)
        font7.setStyleStrategy(QFont.PreferDefault)
        __qtablewidgetitem = QTableWidgetItem()
        __qtablewidgetitem.setFont(font7);
        self.table_elements_line.setHorizontalHeaderItem(0, __qtablewidgetitem)
        font8 = QFont()
        font8.setFamilies([u"NotoSansSC-Bold-Alphabetic"])
        font8.setPointSize(10)
        font8.setBold(True)
        __qtablewidgetitem1 = QTableWidgetItem()
        __qtablewidgetitem1.setFont(font8);
        self.table_elements_line.setHorizontalHeaderItem(1, __qtablewidgetitem1)
        __qtablewidgetitem2 = QTableWidgetItem()
        __qtablewidgetitem2.setFont(font8);
        self.table_elements_line.setHorizontalHeaderItem(2, __qtablewidgetitem2)
        __qtablewidgetitem3 = QTableWidgetItem()
        __qtablewidgetitem3.setFont(font8);
        self.table_elements_line.setHorizontalHeaderItem(3, __qtablewidgetitem3)
        __qtablewidgetitem4 = QTableWidgetItem()
        __qtablewidgetitem4.setFont(font8);
        self.table_elements_line.setHorizontalHeaderItem(4, __qtablewidgetitem4)
        __qtablewidgetitem5 = QTableWidgetItem()
        __qtablewidgetitem5.setFont(font8);
        self.table_elements_line.setHorizontalHeaderItem(5, __qtablewidgetitem5)
        __qtablewidgetitem6 = QTableWidgetItem()
        __qtablewidgetitem6.setFont(font8);
        self.table_elements_line.setHorizontalHeaderItem(6, __qtablewidgetitem6)
        __qtablewidgetitem7 = QTableWidgetItem()
        __qtablewidgetitem7.setFont(font8);
        self.table_elements_line.setHorizontalHeaderItem(7, __qtablewidgetitem7)
        self.table_elements_line.setObjectName(u"table_elements_line")
        self.table_elements_line.setToolTipDuration(0)
        self.table_elements_line.setAutoFillBackground(True)
        self.table_elements_line.setStyleSheet(u"QTableWidget {\n"
"background-color: rgba(255, 255, 255, 30);\n"
"border: 1px solid rgba(255, 255, 255, 40);\n"
"border-bottom-right-radius: 7px;\n"
"border-bottom-left-radius: 7px;\n"
"}\n"
"\n"
"QTableWidget::section {\n"
"background-color: rgb(53, 53, 53);\n"
"color: white;\n"
"border: none;\n"
"height: 50px;\n"
"font-size: 14pt;\n"
"}\n"
"\n"
"QTableWidget::item {\n"
"border: 1px solid rgba(255, 255, 255, 40);\n"
"color: white;\n"
"font: 700 10pt \"NotoSansSC-Bold-Alphabetic\";\n"
"text-align: right;\n"
"}\n"
"\n"
"QTableWidget::item:selected {\n"
"border: none;\n"
"color: rgba(255, 255, 255);\n"
"background-color: rgba(255, 255, 255, 50);\n"
"text-align: right;\n"
"}\n"
"\n"
"QHeaderView::section {\n"
"background-color: rgba(255, 255, 255, 30);\n"
"color: white;\n"
"border: none;\n"
"height: 30px;\n"
"font: 700 10pt \"NotoSansSC-Bold-Alphabetic\";\n"
"\n"
"}\n"
"\n"
"\n"
"QTableWidgetItem {\n"
"background-color: rgba(255, 255, 255, 30);\n"
"color: white;\n"
"border: none;\n"
"height: 30px;\n"
"font-size: "
                        "10pt;\n"
"}\n"
"\n"
"\n"
"\n"
"QTableWidgetItem::section {\n"
"background-color: rgba(255, 255, 255, 40);\n"
"color: white;\n"
"border: none;\n"
"height: 30px;\n"
"font-size: 10pt;\n"
"}\n"
"\n"
"\n"
"\n"
"\n"
"")
        self.table_elements_line.setVerticalScrollBarPolicy(Qt.ScrollBarAlwaysOff)
        self.table_elements_line.setHorizontalScrollBarPolicy(Qt.ScrollBarAsNeeded)
        self.table_elements_line.setAlternatingRowColors(False)
        self.table_elements_line.setShowGrid(True)
        self.table_elements_line.setGridStyle(Qt.NoPen)
        self.table_elements_line.setRowCount(0)
        self.table_elements_line.horizontalHeader().setCascadingSectionResizes(False)
        self.table_elements_line.horizontalHeader().setMinimumSectionSize(37)
        self.table_elements_line.horizontalHeader().setDefaultSectionSize(130)
        self.table_elements_line.horizontalHeader().setStretchLastSection(True)
        self.table_elements_line.verticalHeader().setVisible(False)
        self.table_elements_line.verticalHeader().setMinimumSectionSize(30)
        self.table_elements_line.verticalHeader().setDefaultSectionSize(30)
        self.table_elements_line.verticalHeader().setHighlightSections(False)

        self.verticalLayout_3.addWidget(self.table_elements_line)

        MainWindow.setCentralWidget(self.centralwidget)

        self.retranslateUi(MainWindow)

        QMetaObject.connectSlotsByName(MainWindow)
    # setupUi

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QCoreApplication.translate("MainWindow", u"PressureFall", None))
        self.action_6.setText(QCoreApplication.translate("MainWindow", u"\u041d\u043e\u0432\u044b\u0439 \u0440\u0430\u0441\u0447\u0435\u0442", None))
        self.action_7.setText(QCoreApplication.translate("MainWindow", u"\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u0440\u0430\u0441\u0447\u0435\u0442", None))
        self.action_8.setText(QCoreApplication.translate("MainWindow", u"\u0421\u043f\u0440\u0430\u0432\u043a\u0430", None))
        self.action_12.setText(QCoreApplication.translate("MainWindow", u"\u0412\u044b\u0445\u043e\u0434", None))
        self.action_13.setText(QCoreApplication.translate("MainWindow", u"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b", None))
        self.action_14.setText(QCoreApplication.translate("MainWindow", u"\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b", None))
        self.result.setText(QCoreApplication.translate("MainWindow", u"\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b:", None))
        self.key_pressure.setText(QCoreApplication.translate("MainWindow", u"Потери давления", None))
        self.value_pressure.setText(QCoreApplication.translate("MainWindow", u"10000", None))
        self.comboBox.setItemText(0, QCoreApplication.translate("MainWindow", u"Па", None))
        self.comboBox.setItemText(1, QCoreApplication.translate("MainWindow", u"МПа", None))
        self.comboBox.setItemText(2, QCoreApplication.translate("MainWindow", u"ат", None))

        self.comboBox.setPlaceholderText(QCoreApplication.translate("MainWindow", u"\u041f\u0430", None))
        self.key_coeff.setText(QCoreApplication.translate("MainWindow", u"Коэфф. сопр.", None))
        self.value_coeff.setText(QCoreApplication.translate("MainWindow", u"0,123", None))
        self.fluidname.setText(QCoreApplication.translate("MainWindow", "Вода", None))
        self.key_density.setText(QCoreApplication.translate("MainWindow", u"\u041f\u043b\u043e\u0442\u043d\u043e\u0441\u0442\u044c:", None))
        self.value_density.setText(QCoreApplication.translate("MainWindow", u"997", None))
        self.unit_density.setText(QCoreApplication.translate("MainWindow", u"<html><head/><body><p>\u043a\u0433/\u043c<span style=\" vertical-align:super;\">3</span></p></body></html>", None))
        self.key_viscos.setText(QCoreApplication.translate("MainWindow", u"\u0414\u0438\u043d. \u0432\u044f\u0437\u043a\u043e\u0441\u0442\u044c", None))
        self.value_viscos.setText(QCoreApplication.translate("MainWindow", u"0,894", None))
        self.unit_viscos.setText(QCoreApplication.translate("MainWindow", u"<html><head/><body><p>\u043c\u041f\u0430\u00d7\u0441</p></body></html>", None))
        self.key_massflow.setText(QCoreApplication.translate("MainWindow", u"\u041c\u0430\u0441\u0441. \u0440\u0430\u0441\u0445.", None))
        self.value_massflow.setText(QCoreApplication.translate("MainWindow", u"1", None))
        self.unit_massflow.setText(QCoreApplication.translate("MainWindow", u"\u043a\u0433/\u0441", None))
        self.btn_edit_fluid_settings.setText(QCoreApplication.translate("MainWindow", u"Рабочее\nтело", None))
        self.btn_add_element.setText(QCoreApplication.translate("MainWindow", u"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u044d\u043b\u0435\u043c\u0435\u043d\u0442", None))
        self.IndexAdd.setText("")
        self.IndexAdd.setPlaceholderText(QCoreApplication.translate("MainWindow", u"\u0438\u043d\u0434\u0435\u043a\u0441", None))
        self.btn_edit_element.setText(QCoreApplication.translate("MainWindow", u"\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u044d\u043b\u0435\u043c\u0435\u043d\u0442", None))
        self.IndexAdd_2.setText("")
        self.IndexAdd_2.setPlaceholderText(QCoreApplication.translate("MainWindow", u"индекс", None))
        self.btn_del_element.setText(QCoreApplication.translate("MainWindow", u"\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u044d\u043b\u0435\u043c\u0435\u043d\u0442", None))
        self.IndexAdd_3.setText("")
        self.IndexAdd_3.setPlaceholderText(QCoreApplication.translate("MainWindow", u"\u0438\u043d\u0434\u0435\u043a\u0441", None))
        ___qtablewidgetitem = self.table_elements_line.horizontalHeaderItem(0)
        ___qtablewidgetitem.setText(QCoreApplication.translate("MainWindow", u"индекс", None));
        ___qtablewidgetitem1 = self.table_elements_line.horizontalHeaderItem(1)
        ___qtablewidgetitem1.setText(QCoreApplication.translate("MainWindow", u"тип", None));
        ___qtablewidgetitem2 = self.table_elements_line.horizontalHeaderItem(2)
        ___qtablewidgetitem2.setText(QCoreApplication.translate("MainWindow", u"параметры", None));
        ___qtablewidgetitem3 = self.table_elements_line.horizontalHeaderItem(3)
        ___qtablewidgetitem3.setText(QCoreApplication.translate("MainWindow", u"сечение", None));
        ___qtablewidgetitem4 = self.table_elements_line.horizontalHeaderItem(4)
        ___qtablewidgetitem4.setText(QCoreApplication.translate("MainWindow", u"скорость [м/с]", None));
        ___qtablewidgetitem5 = self.table_elements_line.horizontalHeaderItem(5)
        ___qtablewidgetitem5.setText(QCoreApplication.translate("MainWindow", u"Re", None));
        ___qtablewidgetitem6 = self.table_elements_line.horizontalHeaderItem(6)
        ___qtablewidgetitem6.setText(QCoreApplication.translate("MainWindow", u"коэф.сопр", None));
        ___qtablewidgetitem7 = self.table_elements_line.horizontalHeaderItem(7)
        ___qtablewidgetitem7.setText(QCoreApplication.translate("MainWindow", u"потери [Па]", None));
#if QT_CONFIG(tooltip)
        self.table_elements_line.setToolTip(QCoreApplication.translate("MainWindow", u"<html><head/><body><p><br/></p></body></html>", None))
#endif // QT_CONFIG(tooltip)
    # retranslateUi

